#ifndef _QBSLBZW2_
#define _QBSLBZW2_
#include "HardwareInfo.c"
#include "turnfix.c"
#include "getball.c"
#include "gostraight.c"
#include "CloseS.c"
#include <SetTenthS.h>
#include <SetCentiS.h>
#include "delayLineGo.c"
#include "servoC.c"
#include "turns.c"
#include "slbzw.c"

void qbslbzw2(double distance, int fanzhuan, int angle)
{
    unsigned int var2 = 0;
    unsigned int var3 = 0;
    turnfix(7.5, angle, -10);
    getball(180);
    gostraight(50, 8);
    CloseS(1);
    SetTenthS(5);
    gostraight(40, -15);
    getball(180);
    SetCentiS(3);
    gostraight(70, -10);
    SetCentiS(5);
    CloseS(0);
    SetCentiS(3);
    delayLineGo(17, 1, 5);
    servoC(8, 50, 100);
    SetCentiS(3);
    turns(0, 30, -45);
    servoC(8, 139, 100);
    SetCentiS(3);
    turns(1, 30, -15);
    SetCentiS(3);
    gostraight(40, 7.5);
    SetCentiS(3);
    slbzw(0, 0, distance, fanzhuan);
    turnfix(5.5, 125, 0);
}
#endif

